function difference(arr1,arr2)
{
    let result=[]
    if(arr1.length===0)
    {
        return []
    }
    else if(arr2.length===0)
    {
        return arr1.slice()
    }
    else
    {
        result=arr1.filter(item=>!arr2.includes(item))
    }
    return result
}